home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 May / PCWorld_2000-05_cd.bin / Software / TemaCD / povray / povwin3.exe / %MAINDIR% / Insert Menu / Light sources / area light.txt next >
Encoding:
Text File  |  2000-04-06  |  595 b   |  15 lines

  1. // An area light (creates soft shadows)
  2. // WARNING: This special light can significantly slow down rendering times!
  3. light_source
  4. {
  5.   0*x // light's position (translated below)
  6.   color rgb 1.0  // light's color
  7.   // <widthVector> <heightVector> nLightsWide mLightsHigh
  8.   area_light
  9.   <8, 0, 0> <0, 0, 8> // lights spread out across this distance (x * z)
  10.   4, 4                // total number of lights in grid (4x*4z = 16 lights)
  11.   adaptive 0          // 0,1,2,3... 
  12.   jitter              // adds random softening of light
  13.   translate <40, 80, -40>   // <x y z> position of light
  14. }
  15.